package cn.jiyun.pojoday04;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: 小周
 * @Package: cn.jiyun.pojoday04
 * @Project: p11_parent
 * @name: Teacher
 * @Date: 2023/7/28 15:45
 * @Filename: Teacher
 */
@Data
@TableName(value = "teacher")
public class Teacher implements Serializable {
    @TableId(value = "id")
    private Integer id;
    private String name;
    private String phone;
    private String password;
    @TableField(value = "role_id")
    private Integer roleId;

}
